﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RMM.Core.Entity.Orders;
using Abp.AutoMapper;

namespace RMM.Orders.Dtos
{
    [AutoMap(typeof(Order))]
    public class AdminOrderDto
    {
        public string OrderCode { get; set; }

        public long UserId { get; set; }

        public long ShopId { get; set; }

        public long MassagistId { get; set; }

        /// <summary>
        /// 下单地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 订单状态 0待付款 1待服务 2待确定 3待评价 4完成 10取消订单
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public int AuditStatus { get; set; }

        /// <summary>
        /// 订单来源 默认小程序
        /// </summary>
        public int Soucre { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        public decimal Total { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }

        /// <summary>
        /// 优惠券金额
        /// </summary>
        public decimal Coupon { get; set; }

        /// <summary>
        /// 最终金额
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 消费月卡次数
        /// </summary>
        public int Card { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PayDate { get; set; }

        /// <summary>
        /// 预约人数
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }

        /// <summary>
        /// 下单用户
        /// </summary>
        public string UserName { get; set; }


        /// <summary>
        /// 服务技师
        /// </summary>
        public string MassagistName { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        public string ShopName { get; set; }

        /// <summary>
        /// 服务开始时间
        /// </summary>
        public DateTime ServerStartDate { get; set; }


        /// <summary>
        /// 服务结束时间
        /// </summary>
        public DateTime ServerEndDate { get; set; }
    }
}
